@echo off
echo 创建 Conda 环境...
conda create -n ujdd-kir-app python=3.9 -y

echo 激活环境...
call conda activate ujdd-kir-app

echo 添加 Conda-Forge 通道...
conda config --add channels conda-forge
conda config --set channel_priority strict

echo 安装依赖...
conda install -c conda-forge pillow numpy pyqt5 keyboard tesseract -y
pip install pyperclip pytesseract

echo.
echo 环境创建完成！
echo 请手动下载并安装 Tesseract OCR: https://github.com/UB-Mannheim/tesseract/wiki
echo 安装后运行 'conda activate ujdd-kir-app' 激活环境
pause